package cn.itcast.provider.dao;

import cn.itcast.provider.domain.Goods;
import org.springframework.stereotype.Repository;

@Repository
public class GoodsDao {
    public Goods findById(int id){
        Goods goods = new Goods();
        goods.setId(id);
        goods.setTitle("xxx");
        goods.setPrice(111);
        goods.setCount(2);
        return goods;
    }
}
